using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UpgradeElectricity:Upgrade {

	protected override void ProjectileFiringEventHandler(object _sender,ProjectileEventArgs e) {
		base.ProjectileFiringEventHandler(_sender,e);
		Projectile sender = _sender as Projectile;
		ModifierApplyStatusEffect modifier = new ModifierApplyStatusEffect(sender,new string[0]);
		modifier.amount=0.2f;
		modifier.amountPerDamage=0.1f;
		modifier.maxAmount=1f;
		modifier.buffType=typeof(BuffElectrocuted);
		sender.AddModifier(modifier);
	}

}
